home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr38 / bre971.zip / INSTALL.CFG < prev    next >
Text File  |  1995-01-28  |  5KB  |  224 lines

  1. ;BRE
  2. ;Barren Realms Elite
  3. ;0.970
  4.   let GAME := BRE
  5.   tell $GAME " " 0.970 " setup:"
  6.   if $doorfile == "" goto Local
  7.  
  8.   getcwd CWD
  9.   tell "The " $GAME " directory is `" $CWD "'."
  10.  
  11.   let rI1 := "Install.BBSDirectory"
  12.   let rI2 := "Install.DoorFileDir"
  13.   let rI3 := "Install.BatchFile"
  14.  
  15.   getres $rI1 BBSDir
  16.   getres $rI2 DoorFileDir
  17.   getres $rI3 BatchFile
  18.  
  19.   display "Which directory is your BBS in?  "
  20.   read BBSDir
  21.   if $BBSDir == "" let BBSDir := "."
  22.   fixpath BBSDir
  23.  
  24.   if $DoorFileDir == "" let DoorFileDir := $BBSDir
  25.   display "Enter the full path to your BBS's door files: "
  26.   read DoorFileDir
  27.   if $DoorFileDir == "" let DoorFileDir := "."
  28.   fixpath DoorFileDir
  29.  
  30.   if $BatchFile == "" let BatchFile := $BBSDir $GAME ".BAT"
  31.   display "Batch file to create:  "
  32.   read BatchFile
  33.  
  34.   setres $rI1 $BBSDir
  35.   setres $rI2 $DoorFileDir
  36.   setres $rI3 $BatchFile
  37.  
  38.   let rFos := "Fossil"
  39.   getres $rFos Fossil
  40.   tell $GAME " can use the FOSSIL driver for communications."
  41.   if $Fossil != "" tell "Current setting for FOSSIL: " $Fossil
  42.   display "Do you want " $GAME " to use FOSSIL? (Y/N)  "
  43.   ask Fossil
  44.   setres $rFos $Fossil
  45.  
  46.   let rLB := "LockBaudRate"
  47.   getres $rLB LockedBaud
  48.   display "If you have locked baud rates, please enter the baud rate: "
  49.   read LockedBaud
  50.   setres $rLB $LockedBaud
  51.  
  52.   let #cp := 0
  53.   let #br := 0
  54.   let #tl := 0
  55.   let #nl := 0
  56.   let #ll := 0
  57.   let #al := 0
  58.   let #cl := 0
  59.   let #pl := 0
  60.   let #rn := 0
  61.   fopen $BatchFile
  62.   fwrite "@ECHO OFF"
  63.   fcd $CWD
  64.   goto $doorfile
  65.   tell "Error.  Unknown doorfile."
  66.   exit
  67.  
  68. Local:
  69.   tell "LOCAL.BAT will run the game locally."
  70.   fopen LOCAL.BAT
  71.   fwrite "SRDOOR LOCAL"
  72.   fwrite $GAME
  73.   fclose
  74.   goto end
  75.  
  76. doorfile.sr:
  77.   fwrite "COPY " $DoorFileDir "DOORFILE.SR ."
  78.   fwrite $GAME
  79.   fcd $BBSDir
  80.   fclose
  81.   goto next
  82.  
  83. door.sys:
  84.   let #al := 20
  85.   let #nl := 10
  86.   let #cl := 20
  87.   let #pl := 21
  88.   let #br := 2
  89.   let #cp := 1
  90.   let #tl := 19
  91.   goto std
  92.  
  93. dorinfo1.def:
  94.   let #nl := 7
  95.   let #ll := 8
  96.   let #br := 5
  97.   let #cp := 4
  98.   let #tl := 12
  99.   goto std
  100.  
  101. gtuser.bbs:
  102.   display "Which COM port are you using?  (1-4) "
  103.   read comport
  104.   fwrite "SRDOOR GT " $comport
  105.   goto std2
  106.  
  107. tribbs.sys:
  108.   let #nl := 2
  109.   let #br := 13
  110.   let #cp := 12
  111.   let #tl := 7
  112.   goto std
  113.  
  114. chain.txt:
  115.   let #nl := 2
  116.   let #al := 14
  117.   let #pl := 10
  118.   let #br := 20
  119.   let #cp := 21
  120.   let #rn := 3
  121.   goto std
  122.  
  123. command-line:
  124.   fwrite "ECHO %1  >DOORFILE.SR"
  125.   fwrite "IF [%2]==[C] ECHO 1 >>DOORFILE.SR"
  126.   fwrite "IF NOT [%2]==[C] ECHO %2 >>DOORFILE.SR"
  127.   fwrite "ECHO -1 >>DOORFILE.SR"
  128.   fwrite "ECHO 25 >>DOORFILE.SR"
  129.   fwrite "ECHO %4 >>DOORFILE.SR"
  130.   fwrite "ECHO %5 >>DOORFILE.SR"
  131.   fwrite "ECHO %3 >>DOORFILE.SR"
  132.   fwrite "ECHO %1 >>DOORFILE.SR"
  133.   fwrite $GAME
  134.   fcd $BBSDir
  135.   fwrite EXIT
  136.   fclose
  137.   goto next
  138.  
  139. std:
  140.   fwrite SRDOOR
  141. std2:
  142.   fwrite $GAME
  143.   fcd $BBSDir
  144.   fwrite EXIT
  145.   fclose
  146.  
  147.   fopen SETUP.SR
  148.   fwrite $BBSDir $doorfile
  149.   let h := "   <- Line # of "
  150.   fwrite $#nl $h "Username or First name"
  151.   fwrite $#ll $h "Last name (0 if prev line was full name)"
  152.   fwrite $#cl $h "IBM charaters (1/Y/G = yes)"
  153.   fwrite $#al $h "ANSI support (1/Y/G/C = yes)"
  154.   fwrite $#pl $h "number of lines on the screen"
  155.   fwrite $#br $h "baud rate"
  156.   fwrite $#cp $h "COM port"
  157.   fwrite $#tl $h "time left (minutes)"
  158.   fwrite $#rn $h "Real Name"
  159.   fwrite "Enter 0 for any value not supported."
  160.   fclose
  161.  
  162. next:
  163.   pause
  164.   cls
  165.   tell "  Score File Setup"
  166.   let x := "You can leave any of these blank if you wish"
  167.   tell $x
  168.  
  169.   let r := "ANSIScores"
  170.   getres $r S
  171.   display "ANSI Score full path/filename: "
  172.   read S
  173.   setres $r $S
  174.  
  175.   let r := "AsciiScores"
  176.   getres $r S
  177.   display "Text Score full path/filename: "
  178.   read S
  179.   setres $r $S
  180.   pause
  181.  
  182.   cls
  183.   tell "  News File Setup"
  184.   tell $x
  185.  
  186.   let r := "TodayNewsAnsi"
  187.   getres $r S
  188.   display "ANSI Today's News full path/filename: "
  189.   read S
  190.   setres $r $S
  191.  
  192.   let r := "TodayNewsAscii"
  193.   getres $r S
  194.   display "TEXT Today's News full path/filename: "
  195.   read S
  196.   setres $r $S
  197.  
  198.   let r := "YesterdayNewsAnsi"
  199.   getres $r S
  200.   display "ANSI Yesterday's News full path/filename: "
  201.   read S
  202.   setres $r $S
  203.  
  204.   let r := "YesterdayNewsAscii"
  205.   getres $r S
  206.   display "TEXT Yesterday's News full path/filename: "
  207.   read S
  208.   setres $r $S
  209.  
  210.   pause
  211.   cls
  212.  
  213. end:
  214.   tell "■ Please run   UNPACK.BAT if you have not already done so!"
  215.   tell "■ See Docs\OPTIONS.DOC for command line parameters for BRE"
  216.   tell "■ See Docs\RESOURCE.DOC for more customization stuff."
  217.   tell "■ See Docs\IPSETUP.DOC for information on inter-BBS setup."
  218.   tell "■ See Docs\BRANSI.DOC for information on customizing BRE with ANSI files."
  219.   tell "■ Note: SAMPLES\*.SAM files are not used by BRE; they are only samples."
  220.   pause
  221.  
  222.   exit
  223.  
  224.